package com.flyduck.mall.pms.admin.vo;

import com.flyduck.mall.pms.domain.PmsProduct;
import com.flyduck.mall.pms.domain.PmsSkuStock;
import com.flyduck.mall.pms.domain.PmsSpecification;
import com.flyduck.mall.pms.domain.PmsSpecificationValue;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * AdminSkuStockRespVO
 * </p>
 *
 * @author flyduck
 * @since 2024-06-06
 */
@Data
public class AdminSkuDetailsRespVO implements Serializable {

    private PmsProductVO product;
    private List<PmsSpecificationVO> specs;
    private List<PmsSpecificationValueVO> specValues;
    private List<String> selectSpecValues;
    private List<PmsSkuStockVO> skuStocks;

    @Data
    public static class PmsProductVO extends PmsProduct implements Serializable{

    }

    @Data
    public static class PmsSpecificationVO extends PmsSpecification implements Serializable{

    }

    @Data
    public static class PmsSpecificationValueVO extends PmsSpecificationValue implements Serializable{

    }

    @Data
    public static class PmsSkuStockVO extends PmsSkuStock implements Serializable{

    }
}
